package dy.com.tcp结合udp.Client.bean;

public class ServerInfo {
    private String ip;
    private int port;
    private String sn;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public ServerInfo(String ip, int port, String sn) {
        this.ip = ip;
        this.port = port;
        this.sn = sn;
    }

    @Override
    public String toString() {
        return "ServerInfo {"+"sn:"+sn+",port:"+port+","+",ip:"+ip+"}";
    }
}
